.class public Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;
.super Landroid/app/Activity;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field protected a:Lcom/waiqin365/compons/view/a;

.field private b:Landroid/widget/ImageView;

.field private c:Landroid/widget/ListView;

.field private d:Ljava/util/ArrayList;

.field private e:Lcom/waiqin365/base/triallogin/a/d;

.field private f:Lcom/waiqin365/base/triallogin/j;

.field private g:Lcom/waiqin365/base/triallogin/b/a/i;

.field private h:Ljava/lang/String;

.field private i:Ljava/lang/String;


# direct methods
.method public constructor <init>()V
    .locals 1

    invoke-direct {p0}, Landroid/app/Activity;-><init>()V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->h:Ljava/lang/String;

    const-string/jumbo v0, ""

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->i:Ljava/lang/String;

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;Lcom/waiqin365/base/triallogin/b/a/i;)Lcom/waiqin365/base/triallogin/b/a/i;
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    return-object p1
.end method

.method static synthetic a(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)Ljava/util/ArrayList;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    return-object v0
.end method

.method static synthetic a(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;)V
    .locals 0

    invoke-direct {p0, p1}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a(Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;)V

    return-void
.end method

.method private a(Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;)V
    .locals 3

    iget-object v0, p1, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;->a:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->h:Ljava/lang/String;

    iget-object v0, p1, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;->c:Ljava/lang/String;

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->i:Ljava/lang/String;

    const-string/jumbo v0, "trial_clueid"

    const-string/jumbo v1, ""

    invoke-static {p0, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    new-instance v1, Lcom/waiqin365/base/triallogin/b/a/d;

    iget-object v2, p1, Lcom/waiqin365/base/triallogin/model/TrialBusinessInfo;->a:Ljava/lang/String;

    invoke-direct {v1, v2, v0}, Lcom/waiqin365/base/triallogin/b/a/d;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    new-instance v0, Lcom/waiqin365/base/triallogin/b/d;

    iget-object v2, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->f:Lcom/waiqin365/base/triallogin/j;

    invoke-direct {v0, v2, v1}, Lcom/waiqin365/base/triallogin/b/d;-><init>(Landroid/os/Handler;Lcom/waiqin365/base/triallogin/b/a;)V

    invoke-virtual {v0}, Lcom/waiqin365/base/triallogin/b/d;->start()V

    return-void
.end method

.method static synthetic b(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->h:Ljava/lang/String;

    return-object v0
.end method

.method private b()V
    .locals 2

    invoke-virtual {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string/jumbo v1, "business"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getParcelableArrayListExtra(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-nez v0, :cond_1

    :cond_0
    invoke-virtual {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->finish()V

    :cond_1
    return-void
.end method

.method static synthetic c(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->i:Ljava/lang/String;

    return-object v0
.end method

.method private c()V
    .locals 2

    const v0, 0x7f0c0038

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->b:Landroid/widget/ImageView;

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->b:Landroid/widget/ImageView;

    invoke-virtual {v0, p0}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    const v0, 0x7f0c0039

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ListView;

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->c:Landroid/widget/ListView;

    new-instance v0, Lcom/waiqin365/base/triallogin/a/d;

    invoke-direct {v0, p0}, Lcom/waiqin365/base/triallogin/a/d;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->e:Lcom/waiqin365/base/triallogin/a/d;

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->e:Lcom/waiqin365/base/triallogin/a/d;

    iget-object v1, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d:Ljava/util/ArrayList;

    invoke-virtual {v0, v1}, Lcom/waiqin365/base/triallogin/a/d;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->c:Landroid/widget/ListView;

    iget-object v1, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->e:Lcom/waiqin365/base/triallogin/a/d;

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setAdapter(Landroid/widget/ListAdapter;)V

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->c:Landroid/widget/ListView;

    new-instance v1, Lcom/waiqin365/base/triallogin/i;

    invoke-direct {v1, p0}, Lcom/waiqin365/base/triallogin/i;-><init>(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)V

    invoke-virtual {v0, v1}, Landroid/widget/ListView;->setOnItemClickListener(Landroid/widget/AdapterView$OnItemClickListener;)V

    return-void
.end method

.method private d()V
    .locals 5

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    if-eqz v0, :cond_0

    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/waiqin365/base/login/LoginMainActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string/jumbo v1, "sessionObj"

    iget-object v2, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    iget-object v2, v2, Lcom/waiqin365/base/triallogin/b/a/i;->h:Lcom/waiqin365/base/login/c/e;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "mydatainfoObj"

    iget-object v2, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    iget-object v2, v2, Lcom/waiqin365/base/triallogin/b/a/i;->i:Lcom/waiqin365/base/login/c/c;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    const-string/jumbo v1, "isfirst"

    const-string/jumbo v2, "1"

    iget-object v3, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    iget-object v3, v3, Lcom/waiqin365/base/triallogin/b/a/i;->e:Ljava/lang/String;

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "isNeedMofifyPwd"

    const-string/jumbo v2, "111111"

    const-string/jumbo v3, "_loginPassword"

    const-string/jumbo v4, ""

    invoke-static {p0, v3, v4}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Z)Landroid/content/Intent;

    const-string/jumbo v1, "noticemsgInfo"

    iget-object v2, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->g:Lcom/waiqin365/base/triallogin/b/a/i;

    iget-object v2, v2, Lcom/waiqin365/base/triallogin/b/a/i;->f:Lcom/waiqin365/base/login/c/n;

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->startActivity(Landroid/content/Intent;)V

    const v0, 0x7f040022

    const v1, 0x7f040021

    invoke-virtual {p0, v0, v1}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->overridePendingTransition(II)V

    invoke-static {}, Lcom/fiberhome/gaea/client/base/a;->a()V

    invoke-virtual {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->finish()V

    :cond_0
    return-void
.end method

.method static synthetic d(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)V
    .locals 0

    invoke-direct {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->d()V

    return-void
.end method

.method static synthetic e(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;)Lcom/waiqin365/base/triallogin/j;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->f:Lcom/waiqin365/base/triallogin/j;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 1

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->dismiss()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    const/4 v0, 0x1

    invoke-virtual {p0, p1, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a(Ljava/lang/String;Z)V

    return-void
.end method

.method public a(Ljava/lang/String;Z)V
    .locals 2

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    if-nez v0, :cond_0

    new-instance v0, Lcom/waiqin365/compons/view/a;

    invoke-direct {v0, p0}, Lcom/waiqin365/compons/view/a;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    :cond_0
    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0, p1}, Lcom/waiqin365/compons/view/a;->a(Ljava/lang/String;)V

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    invoke-virtual {v0}, Lcom/waiqin365/compons/view/a;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    const/4 v1, 0x0

    invoke-virtual {v0, v1, p2}, Lcom/waiqin365/compons/view/a;->a(ZZ)V

    :cond_1
    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result v0

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    invoke-virtual {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->finish()V

    goto :goto_0

    :pswitch_data_0
    .packed-switch 0x7f0c0038
        :pswitch_0
    .end packed-switch
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2

    invoke-super {p0, p1}, Landroid/app/Activity;->onCreate(Landroid/os/Bundle;)V

    const/4 v0, 0x1

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->requestWindowFeature(I)Z

    const v0, 0x7f030006

    invoke-virtual {p0, v0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->setContentView(I)V

    new-instance v0, Lcom/waiqin365/base/triallogin/j;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/waiqin365/base/triallogin/j;-><init>(Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;Lcom/waiqin365/base/triallogin/i;)V

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->f:Lcom/waiqin365/base/triallogin/j;

    invoke-direct {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->b()V

    invoke-direct {p0}, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->c()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    const/4 v0, 0x0

    iput-object v0, p0, Lcom/waiqin365/base/triallogin/TrialSelectBusinessActivity;->a:Lcom/waiqin365/compons/view/a;

    invoke-super {p0}, Landroid/app/Activity;->onDestroy()V

    return-void
.end method
